Skip to content

Instantly share code, notes, and snippets.

@MattPD
MattPD / cpp.std.coroutines.draft.md
Last active October 12, 2026 20:55
C++ links: Coroutines (WIP draft)
import random
import sys
sheild = 0
key_time = 0
money = 100
turn = 0
key1 = 0
key2 = 0
key5 = 0
key8 = 0
<!DOCTYPE html>
<html lang="ru">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>HOME MASTER: Room & Syntax Drill</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Comfortaa:wght@600;700&family=Nunito:ital,wght@0,400;0,600;0,700;0,800;1,400&family=Quicksand:wght@500;600;700&display=swap" rel="stylesheet">
<style>
@creikey
creikey / top-1000-nouns.txt
Created December 30, 2019 17:25
Top 1000 English Nouns
time
way
year
work
government
day
man
world
life
part
@WitherOrNot
WitherOrNot / parse_dpcdll.py
Last active October 12, 2026 20:47
Parse DPCDLL.DLL to get PIDs for key generation (x86/x64 Windows XP and derivatives only)
from glob import glob
from struct import unpack
import json
import sys
def readint(f):
return unpack("<I", f.read(4))[0]
if __name__ == "__main__":
if len(sys.argv) < 3:
@jasonacox
jasonacox / TimeMachine.md
Last active October 12, 2026 20:47
Linux Ubuntu 24.04 Samba for MacoS Time Machine

Time Machine Backups using Samba on Ubuntu 24.04

Use Ubuntu 24.04 server as a Time Machine backup host for MacOS computers.

Introduction

In the past I set up netatalk on our Linux servers to provide Apple Talk shares on the network. However, I discovered Stefan Johner's post on usig Samba with the vfs_fruit module. The Samba package provides SMB compatible file sharing which means it works with a variety of operating systems and devices, including Windows and MacOS. The vfs_fruit module

@WitherOrNot
WitherOrNot / tspkgen.py
Last active October 12, 2026 20:46
Terminal Services License Server ID + License Key Pack generator
from Crypto.Cipher import ARC4
from hashlib import sha1, md5
from random import randint
from ecutils.core import Point, EllipticCurve
from sys import argv
KCHARS = "BCDFGHJKMPQRTVWXY2346789"
SPK_ECKEY = {
"a": 1,
@ebowwa
ebowwa / pixel-map.md
Last active October 12, 2026 20:44
Series 9 — Pixel 10a — the Android lab notebook. Hermes Agent on a rooted Pixel (bring-up · survival plant · cockpit · the fleet's cable · the resident's runtimes · the lock · the keyboard · the NFC war).

Pixel 10a — the Android lab notebook

The machine that would not take a resident agent — until a 405-command war ended. This notebook watches the loop on a rooted Pixel 10a (Android 17, "stallion") running Hermes in Termux: how it came to run at all, how its mind survives the app's reinstall-wipe (attributed and fixed — the app was reinstalling a bootstrap into a prefix it could no longer read), and how it comes back across reboots — and how the resident gets a face on the home screen.

Series 9 of [the lab notebooks — the index of

@WitherOrNot
WitherOrNot / param_table.csv
Last active October 12, 2026 20:44
NT 5.2 (Windows XP/Server 2003) Key Parameter Table
Name Min Service Pack Max Service Pack BINK Start End Type Days to Activate Days Evaluation
Windows Compute Cluster Server 2003 1 ? 64 1000000 1999999 Evaluation 14 185
Windows Compute Cluster Server 2003 1 ? 64 2000000 2499999 Evaluation 14 185
Windows Compute Cluster Server 2003 1 ? 64 2500000 2999999 Evaluation 14 185
Windows Compute Cluster Server 2003 1 ? 6A 5000000 14999999 Evaluation 14 185
Windows Compute Cluster Server 2003 1 ? 6A 101000000 110999999 Evaluation 14 185
Windows Compute Cluster Server 2003 1 ? 6A 112000000 113999999 Evaluation 120 60
Windows Compute Cluster Server 2003 1 ? 6A 114000000 133999999 Evaluation 14 185
Windows Compute Cluster Server 2003 1 ? 6A 134000000 135999999 Evaluation 120 60
Windows Compute Cluster Server 2003 1 ? 6A 136000000 145999999 Evaluation 14 185
@ebowwa
ebowwa / the-day-one-root-unlock-init-boot-patch-grant.md
Last active October 12, 2026 20:41
Rooting the Pixel 10a the day it arrived: fastboot unlock (and its wipe), the re-setup, Magisk 30.7 + the factory image, the init_boot patch over adb taps, the flash and the grant dance. Series 9 Pixel 10a notebook, part 0.

Rooting the Pixel 10a: fastboot unlock, the init_boot patch over adb taps, and the grant dance

Series 9 of the lab notebooks — Pixel 10a — the Android lab notebook. Part 0 — the machine's origin, before any of the Hermes wars. One sitting (Sep 27, 2026), one goal: root the brand-new Pixel 10a over adb and fastboot, without ever picking it up — and the phone had just taken its over-the-air jump to Android 17 ("root it, it updated"), so build CP3A.260905.009 was the image in play. Every step below ran as adb/fastboot commands with screencap verification; the phone was touched only where Android physically demands a human (the unlock confirm and nothing else, it turned out). Five beats: the unlock, the re-setup, the pieces, the patch, the flash and the grant.

1. The unlock — and the wipe it carries

adb reboot bootloader          # first attempt: "device not found" — the USB
                               # transport drops at the r